<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module ra_leaderboard</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>

<h1>Module ra_leaderboard</h1>
<ul class="index"><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>


<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#init-0">init/0</a></td><td></td></tr>
<tr><td valign="top"><a href="#record-3">record/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#lookup_leader-1">lookup_leader/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#lookup_members-1">lookup_members/1</a></td><td></td></tr>
<tr><td valign="top"><a href="#overview-0">overview/0</a></td><td></td></tr>
</table>

<h2><a name="functions">Function Details</a></h2>

<h3 class="function"><a name="init-0">init/0</a></h3>
<div class="spec">
<p><pre>init() -&gt; ok</pre></p>
</div>

<h3 class="function"><a name="record-3">record/3</a></h3>
<div class="spec">
<p><pre>record(ClusterName :: term(),
       Leader :: <a href="ra.html#type-server_id">ra:server_id()</a>,
       Members :: [<a href="ra.html#type-server_id">ra:server_id()</a>]) -&gt;
          ok</pre></p>
</div>

<h3 class="function"><a name="lookup_leader-1">lookup_leader/1</a></h3>
<div class="spec">
<p><pre>lookup_leader(ClusterName :: term()) -&gt; <a href="ra.html#type-server_id">ra:server_id()</a> | undefined</pre></p>
</div>

<h3 class="function"><a name="lookup_members-1">lookup_members/1</a></h3>
<div class="spec">
<p><pre>lookup_members(ClusterName :: term()) -&gt;
                  [<a href="ra.html#type-server_id">ra:server_id()</a>] | undefined</pre></p>
</div>

<h3 class="function"><a name="overview-0">overview/0</a></h3>
<div class="spec">
<p><pre>overview() -&gt; list()</pre></p>
</div>
<hr>

<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc</i></p>
</body>
</html>
